package com.app.service;


import com.alibaba.fastjson.JSONObject;
import com.app.pojo.RequestLogs;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;

/**
 * <p>
 * 请求日志记录表 服务类
 * </p>
 *
 * @author yoominic
 * @since 2024-08-01
 */
public interface IRequestLogsService extends IService<RequestLogs> {


    JSONObject receiveGasRequestLogs(JSONObject requestLogs,String ip);

    JSONObject pushGasRequestLogs(String field,String meterno,String value);

    /**
     * 给燃气发请求，查余额
     * @param meterno
     * @return
     */
    BigDecimal checkBalance(String meterno);
}
